]> dgit.raspbian.org Git - ostree.git/commit
ci: Revamp bootc integration test suite with bcvk VM support
authorColin Walters <walters@verbum.org>
Tue, 17 Mar 2026 21:00:34 +0000 (21:00 +0000)
committerColin Walters <walters@verbum.org>
Tue, 17 Mar 2026 23:13:57 +0000 (23:13 +0000)
commitf351a7ae8e23ae45805765235b799c18435dfca4
treea5118320a1650eeeb4c7d149f3cbb86fe20efbf6
parent8bfd92993e0ee3a213888006171b1b4fa6eb2ade
ci: Revamp bootc integration test suite with bcvk VM support

 the old privtest CI job with a new tests/bootc-integration
Rust crate that runs inside a bcvk VM. The old tests/inst crate is
preserved for tests not yet ported.

Tests are split into two tiers based on what they need:

- booted_test!: needs a fully deployed ostree system. Dispatches via
  `bcvk libvirt run` which does `bootc install to-disk`.
- privileged_test!: just needs root. Dispatches via the faster
  `bcvk ephemeral run-ssh`.

The Justfile provides `integration-container` (full suite) and
`integration-ephemeral` (fast privileged-only path). JUnit XML output
is supported via the JUNIT_OUTPUT env var using quick-junit;
integration-container captures results to target/integration-results.xml.

Drop the vendored bootc-ubuntu-setup action in favor of the upstream
bootc-dev/actions/bootc-ubuntu-setup@main.

Assisted-by: OpenCode (Claude claude-opus-4-6)
Signed-off-by: Colin Walters <walters@verbum.org>
13 files changed:
.github/actions/bootc-ubuntu-setup/action.yml [deleted file]
.github/workflows/bootc.yaml
.github/workflows/tests.yml
Dockerfile
Justfile
tests/bootc-integration/.gitignore [new file with mode: 0644]
tests/bootc-integration/Cargo.lock [new file with mode: 0644]
tests/bootc-integration/Cargo.toml [new file with mode: 0644]
tests/bootc-integration/bootc-e2e.md [new file with mode: 0644]
tests/bootc-integration/src/lib.rs [new file with mode: 0644]
tests/bootc-integration/src/main.rs [new file with mode: 0644]
tests/bootc-integration/src/tests/mod.rs [new file with mode: 0644]
tests/bootc-integration/src/tests/privileged.rs [new file with mode: 0644]